package com.weilan.blog.admin.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weilan.blog.base.entity.SuperEntity;
import lombok.Data;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/9/23 22:05
 */
@Data
@TableName("tb_sys_role")
public class SysRole extends SuperEntity<SysRole> {
    private static final long serialVersionUID = 1L;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 介绍
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String summary;

    /**
     * 该角色所能管辖的区域
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String sysMenuUids;
}
